package com.laiketui.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName lk_balance_record
 */
@TableName(value ="lk_balance_record")
@Data
public class BalanceRecord implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 类型 1冻结 2解冻 3扣除 4 充值
     */
    private Integer recordType;

    /**
     * 扣除金额
     */
    private Long recordAmount;

    /**
     * 创建人
     */
    private String careatBy;

    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 商城ID
     */
    private Integer storeId;

    /**
     * 关联母订单号
     */
    private String orderParentNo;

    /**
     * 关联第三方单号
     */
    private String payOrderNo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}